package com.swanclouds.api.chassis;

import com.swanclouds.common.RestService;
import com.swanclouds.model.chassis.PCIeDevices;
import com.swanclouds.model.common.redfish.CollectionResource;
import com.swanclouds.redfish.chassis.domain.PCIeDevicesModel;

import java.util.List;

/**
 * Author: HuangFuYuHui
 * Title: PCIeDeviceService
 * Description: TODO
 * Date: 2022-07-15 11:31.
 */
public interface PCIeDeviceService extends RestService {

    /**
     * 查询PCIe设备集合资源信息.
     * @return com.swanclouds.model.common.redfish.CollectionResource
     **/
    CollectionResource get();

    /**
     * 查询指定服务器PCIe设备资源信息
     * @param pCIeDevicesId PCIe设备ID
     * @return com.swanclouds.model.chassis.PCIeDevices
     **/
    PCIeDevices getPCIeDevices(String pCIeDevicesId);

    /**
     * 查询服务器PCIe设备集合资源信息。
     * @return java.util.List
     **/
    List<PCIeDevicesModel> getPCIeDevicesList();

}
